package top.melody.ecommerce.platform.dal.basedata;

import org.apache.ibatis.annotations.Param;
import top.melody.ecommerce.common.util.page.Pagination;
import top.melody.ecommerce.platform.api.domain.basedata.Region;

import java.util.List;

/**
 * @author: melody
 * @groupId:rd
 * @createdate:2016-10-18
 * @mail: blentle.huan.ren@gmail.com
 * @description:
 * @since: 1.0
 */
public interface RegionMapper {

    List<Region> queryByPage(@Param("entity")Region record, @Param("page")Pagination page);

    Integer getCount(Region record);

    Region get(Object key);

    Integer insert(Region record);

    Integer insertSelective(Region record);

    Integer delete(Region record);

    Integer deleteByPrimaryKey(Object key);

    Integer updateByPrimaryKey(Region record);

    Integer updateByPrimaryKeySelective(Region record);








}